<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/advpos.css">
  <!-- <script src="./lib/layui/layui.js" charset="utf-8"></script> -->
  <script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

  <style>
    body {
      background-color: #fff;
    }
  </style>
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid ">

    <!-- <div class="layui-row layui-col-space15">
      这是广告位列表、修改、删除、增加
    </div> -->
    <!-- 卡片区域 -->
    <div class="layui-card-body">
      <!-- 搜索区域 -->
      <form class="layui-form" id="form">
        <div class="layui-form-item  sousuoLan">
          <div class="layui-inline">
            <!-- 广告位名称搜索区域 -->
            <div class="layui-input-inline" style="width:auto;">
              <label class="layui-form-label" style="font-weight: 700;font-size:16px;line-height: 16px;">广告位名称</label>
            </div>
            <div class="layui-input-inline">
              <input type="text" placeholder="请输入广告位名称" value="" class="layui-input  searchAdvpos">
            </div>
            <div class="layui-input-inline">
              <button class="layui-btn layui-btn-normal" lay-submit="" id="search">
                <i class="layui-icon layui-icon-search"></i>
                <span>搜索</span>
              </button>
              <button class="layui-btn layui-btn-primary" lay-submit="" id="refresh">
                <i class="layui-icon layui-icon-refresh"></i><span>重置</span>
              </button>
            </div>
          </div>
        </div>
        <div class="layui-form-item xinzenglan">
          <div class="layui-form-block">
            <div class="layui-input-inline">
              <button class="layui-btn layui-btn-primary layui-border-blue xinzeng" id="addBtn">
                <i class="layui-icon layui-icon-add-1"></i>
                <span>新增</span>
              </button>
              <button class="layui-btn layui-btn-primary layui-border-orange  daochu" id="tables">
                <i class="layui-icon layui-icon-download-circle"></i>
                <span>导出</span>
              </button>
            </div>
          </div>
          <div class="layui-form-block">
            <div class="layui-input-inline youbiankuang">
              <button class="layui-btn layui-btn-primary layui-border-blue guanbi"
                style="width: 30px;border-radius: 50%;padding: 0 5px;">
                <i class="layui-icon layui-icon-down one_1" style="display: none;"></i>
                <i class="layui-icon layui-icon-up  one_2"></i>
              </button>
              <button class="layui-btn layui-btn-primary layui-border-orange shuaxin"
                style="width: 30px;border-radius: 50%;padding: 0 5px;">
                <i class="layui-icon layui-icon-refresh"></i>
              </button>
              <button class="layui-btn layui-btn-primary layui-border-orange shaixuan"
                style="width: 30px;border-radius: 50%;padding: 0 5px;">
                <i class="layui-icon layui-icon-cols"></i>

              </button>
            </div>
          </div>
        </div>
      </form>

      <!-- 备用： 添加弹出层的表单内容结构 -->
      <form style="display: none;" id="addForm" class="layui-form">
        <!-- 第一行 广告位名称 -->
        <div class="layui-form-item">
          <label class="layui-form-label" style="font-size: 14px;font-weight: 700;"><i
              style="color: red;text-align: center;">*</i> 广告位名称</label>
          <div class="layui-input-block">
            <input type="text" name="name" required lay-verify="required" placeholder="请输入广告位名称" autocomplete="off"
              style="width: 400px;height: 30px;">
          </div>
        </div>
        <!-- 第二行 广告位描述  -->
        <div class="layui-form-item">
          <label class="layui-form-label" style="font-size: 14px;font-weight: 700;"><i
              style="color: red;text-align: center;">*</i> 广告位描述</label>
          <div class="layui-input-block">
            <textarea name="description" placeholder="请输入广告位描述" style="width: 400px;height: 50px;"></textarea>
          </div>
        </div>
        <!-- 第三行 广告位尺寸  -->
        <div class="layui-form-item">
          <label class="layui-form-label" style="font-size: 14px;font-weight: 700;"><i
              style="color: red;text-align: center;">*</i> 广告位尺寸</label>
          <div class="layui-input-block">
            <input type="text" name="alias" required lay-verify="required" placeholder="请输入广告位尺寸" autocomplete="off"
              style="width: 400px;height: 30px;">
          </div>
        </div>
        <!-- 第四行 按钮 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button type="reset" class="layui-btn layui-btn-primary">取消</button>
            <button class="layui-btn" lay-submit lay-filter="formDemo">确定</button>
          </div>
        </div>
      </form>

      <!-- 表格区域 -->
      <table class="layui-table">
        <colgroup>
          <col width="48">
          <col width="308">
          <col width="305">
          <col width="305">
          <col width="305">
          <col width="305">
          <col>
        </colgroup>
        <thead>
          <tr>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;">#</th>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;">广告位名称</th>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;">广告位描述</th>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;">广告图数量</th>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;">广告位尺寸</th>
            <th style="font-weight: 700;font-size:16px;line-height: 16px;text-align: center;">操作</th>
          </tr>
        </thead>
        <tbody id="list">
          <tr>
            <td>1</td>
            <td>32</td>
            <td>324</td>
            <td>0</td>
            <td>32432</td>
            <td class="caozuo">
              <button type="button" class="layui-btn layui-btn-xs btn_edit"
                style="width: 30px; border-radius: 50%;  padding: 0 8px; background-color: #1e9fff;">
                <i class="layui-icon layui-icon-edit"></i>
              </button>
              <button type="button" class="layui-btn layui-btn-danger layui-btn-xs btn_delete"
                style="width: 30px; border-radius: 50%; padding: 0 8px;">
                <i class="layui-icon layui-icon-delete"></i>
              </button>
            </td>
          </tr>
        </tbody>
      </table>

      <!-- 分页区域 -->
      <div id="page-box">
      </div>
    </div>
  </div>

  <script>

  </script>
  <script src="./common/axios.js"></script>
  <script src="./common/axiosBaseUrl.js"></script>
  <script src="./js/advpos.js"></script>
  <script src="./js/FileSaver.min.js"></script>
  <script src="./js/tableExport.min.js"></script>
</body>


</html>